package com.hl.toolkit.server.tycoin.account.slaveentity;
// Generated 2017-5-20 22:33:23 by Hibernate Tools 4.0.0.Final

import com.tycoin.common.entity.AbstractEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

@Entity
@Table(name="tycoin_account_cash_daifu")
 public class TycoinAccountCashDaifu extends AbstractEntity implements java.io.Serializable {

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 258311341185723218L;
 
	
	@Column(name = "uniacid")
	private int uniacid;
	
	@Column(name = "openid")
	private String openid;
	
	@Column(name = "type")
	private int type;
	
	@Column(name = "from_id")
	private int fromId;
	
	@Column(name = "amount")
	private BigDecimal amount;
	
	@Column(name = "api_fee")
	private BigDecimal apiFee;
	
	@Column(name = "remark")
	private String remark;
	
	@Column(name = "op_userid")
	private Integer opUserid;
	
	@Column(name = "addtime")
	private int addtime;

	public TycoinAccountCashDaifu() {
	}

	public TycoinAccountCashDaifu(int uniacid, String openid, short type, int fromId, BigDecimal amount, BigDecimal apiFee,
			int addtime) {
		this.uniacid = uniacid;
		this.openid = openid;
		this.type = type;
		this.fromId = fromId;
		this.amount = amount;
		this.apiFee = apiFee;
		this.addtime = addtime;
	}

	public TycoinAccountCashDaifu(int uniacid, String openid, int type, int fromId, BigDecimal amount, BigDecimal apiFee,
			String remark, Integer opUserid, int addtime) {
		this.uniacid = uniacid;
		this.openid = openid;
		this.type = type;
		this.fromId = fromId;
		this.amount = amount;
		this.apiFee = apiFee;
		this.remark = remark;
		this.opUserid = opUserid;
		this.addtime = addtime;
	}
 

	public int getUniacid() {
		return this.uniacid;
	}

	public void setUniacid(int uniacid) {
		this.uniacid = uniacid;
	}

	public String getOpenid() {
		return this.openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public int getType() {
		return this.type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getFromId() {
		return this.fromId;
	}

	public void setFromId(int fromId) {
		this.fromId = fromId;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public BigDecimal getApiFee() {
		return this.apiFee;
	}

	public void setApiFee(BigDecimal apiFee) {
		this.apiFee = apiFee;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getOpUserid() {
		return this.opUserid;
	}

	public void setOpUserid(Integer opUserid) {
		this.opUserid = opUserid;
	}

	public int getAddtime() {
		return this.addtime;
	}

	public void setAddtime(int addtime) {
		this.addtime = addtime;
	}

}
